home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14832 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: tank.news.pipex.net!pipex!iol!usenet
  2. From: dwight@broadleas.iol.ie (Dwight Alwine)
  3. Newsgroups: comp.lang.c++
  4. Subject: Sending Keystrokes to another app
  5. Date: Tue, 02 Apr 1996 09:11:52 GMT
  6. Organization: Bleco Trading
  7. Message-ID: <4jqng9$9tf@nuacht.iol.ie>
  8. NNTP-Posting-Host: af053.du.pipex.com
  9. X-Newsreader: Forte Free Agent 1.0.82
  10.  
  11. I am having a problem sending keystrokes to another app in Windows.
  12. As VB is my primary language there is a SendKey function which works
  13. quite nicely fine thank you, but in C is another matter.  I can get
  14. the app to respond to things such as ShowWindow, Maximize, Minimize
  15. etc,.  It refuses to respond to any WM_CHAR, WM_KEYDOWN, WM_KEYUP
  16. messages I send or post to it.
  17.  
  18. Can anybody point me to a site with some example code so I can see
  19. where I am going wrong or possibly give me just some advice?
  20.  
  21. Thanks in advance.
  22.  
  23. ------------------------------------------------------------------
  24. Dwight Alwine
  25.  
  26. dwight@broadleas.iol.ie
  27. ------------------------------------------------------------------
  28.  
  29. -----------------------------------------------
  30. |    Dwight Alwine                            |
  31. |    dwight@broadleas.iol.ie                  |
  32. -----------------------------------------------
  33.  
  34.